import { defineConfig } from "vitepress";
import {nav} from "./config/nav.config"
import {sidebar} from "./config/slide.config"
import {docsConfig} from "./config/docs.config"
export default defineConfig({
  title: "UI DEMO",
  description: "组件库和插件库",
  lang: "zh-cn",
  base: "/",
  outDir:`../${docsConfig.outdir}`,
  lastUpdated: true,
  themeConfig: {
    logo: "/vue.svg",
    siteTitle: "组件库标题",
    outline: 3,
    socialLinks: [
      { icon: "github", link: "https://github.com/vuejs/vitepress" },
    ],
    nav,
    sidebar,
  },
  markdown:{
    lineNumbers: true
  }
});
